﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LidarCalibrateAndButtonImitateTool
{
    internal class VirtualKeyConfig
    {
        int xCenter;
        int yCenter;
        int xRange;
        int yRange;
        int releaseTimeout;
        string keyImitate;
        bool pressedDown = false;
        int triggerTimeout = 500;
        DateTime lastTriggerTime;

        public int XCenter { get => xCenter; set => xCenter = value; }
        public int YCenter { get => yCenter; set => yCenter = value; }
        public int XRange { get => xRange; set => xRange = value; }
        public int YRange { get => yRange; set => yRange = value; }
        public string KeyImitate { get => keyImitate; set => keyImitate = value; }
        public int ReleaseTimeout { get => releaseTimeout; set => releaseTimeout = value; }
        public DateTime LastTriggerTime { get => lastTriggerTime; set => lastTriggerTime = value; }
        public int TriggerTimeout { get => triggerTimeout; set => triggerTimeout = value; }
        public bool PressedDown { get => pressedDown; set => pressedDown = value; }
    }
}
